package cst.a226ysq.framgmenttest226ysq.Fragment;


import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import cst.a226ysq.framgmenttest226ysq.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class FriendFragment extends Fragment {
    private View view;
    private Context context;
    private TextView tvinfo;


//    public WeixinFragment() {
//        // Required empty public constructor
//    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
//        TextView textView = new TextView(getActivity());
//        textView.setText(R.string.hello_blank_fragment);
        context=getActivity();
        view=inflater.inflate(R.layout.ffragment,container,false);
        tvinfo= (TextView) view.findViewById(R.id.ftextView);
        tvinfo.setText("微信朋友");
//        Toast.makeText(context,"这是微信朋友界面",Toast.LENGTH_SHORT).show();
        return view;
    }

}
